LOCAL_PATH := $(call my-dir)

include $(CLEAR_VARS)

LOCAL_MODULE := main

SDL_PATH := ../SDL2
FFMPEG_PATH := ../ffmpeg

LOCAL_C_INCLUDES := $(LOCAL_PATH)/$(SDL_PATH)/include \
		    $(LOCAL_PATH)/$(FFMPEG_PATH)
	
# Add your application source files here...
LOCAL_SRC_FILES := $(SDL_PATH)/src/main/android/SDL_android_main.c  \
							mythAvlist.cpp \
							mythVirtualDecoder.cpp \
							sdl_meets_yv12.cpp \
							mythP2PDecoder.cpp \
							cjSON.c \
							VirtualP2PServer.cpp \
							mythRTMPDecoder.cpp \
							srs_librtmp.cpp

LOCAL_SHARED_LIBRARIES := SDL2 

LOCAL_LDLIBS := -lGLESv1_CM -llog

include $(BUILD_SHARED_LIBRARY)
